package com.succodes.lostandfound.dto;

import com.succodes.lostandfound.util.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "PropertyQueryParam", description = "失物查询参数")
public class PropertyQueryParam extends PageUtil implements Serializable {

    @ApiModelProperty("失物标题")
    private String propertyTitle;

    @ApiModelProperty("失物标签id")
    private Long tagId;

    @ApiModelProperty("遗失状态，0：表示丢了，1：表示没丢；用来标示失物招领和寻物启事")
    private Integer lost;

    @ApiModelProperty("状态，已完成：1，未完成：0")
    private Integer finished;
}
